//
//  BaseHeader.h
//  音悦咖
//
//  Created by Best on 15/7/13.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#ifndef ____BaseHeader_h
#define ____BaseHeader_h

/**
 *  获得当前屏幕的宽 高
 */
#define SCREEN_WIDTH         [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT        [UIScreen mainScreen].bounds.size.height
/**
 *    获取RGBA 色值
 */
#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]

/**
 *  获取路径图片
 */
#define GETBUNDLE_PATH(str, type)   [[NSBundle mainBundle] pathForResource:str ofType:type]

#define COLOR_STOCHASTIC   [UIColor colorWithRed:arc4random() % 256 / 255.0 green:arc4random() % 256 / 255.0 blue:arc4random() % 256 / 255.0 alpha:1]


#define SDK_KEY @"55aa363567e58ebf5300291b"



#define WHITE     [UIColor whiteColor]



#endif
